FROM ubuntu
RUN apt-get update \
    && apt-get install -y python3 python3-pip \
    && pip3 install flask \
    && pip3 install pymysql \
    && pip3 install redis \
    && pip3 install flask_cors
COPY . /root/app
WORKDIR /root/app
EXPOSE 5000
CMD ["python3", "main.py"]